package cn.gzjp.modules.logis.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.gzjp.common.persistence.Page;
import cn.gzjp.common.service.CrudService;
import cn.gzjp.modules.logis.entity.LogisQuestion;
import cn.gzjp.modules.logis.dao.LogisQuestionDao;

/**
 * 常见问题Service
 * @author zengcp
 * @version 2018-04-10
 */
@Service
@Transactional(readOnly = true)
public class LogisQuestionService extends CrudService<LogisQuestionDao, LogisQuestion> {

	public LogisQuestion get(String id) {
		return super.get(id);
	}
	
	public List<LogisQuestion> findList(LogisQuestion logisQuestion) {
		return super.findList(logisQuestion);
	}
	
	public Page<LogisQuestion> findPage(Page<LogisQuestion> page, LogisQuestion logisQuestion) {
		return super.findPage(page, logisQuestion);
	}
	
	@Transactional(readOnly = false)
	public void save(LogisQuestion logisQuestion) {
		super.save(logisQuestion);
	}
	
	@Transactional(readOnly = false)
	public void delete(LogisQuestion logisQuestion) {
		super.deleteByLogic(logisQuestion);
	}
	
}